package com.zcl.javaClassAndObject.collection.typeUnknown8_2_1;

/**
 * @Description:
 * @author: zcl
 * @date: 2021/12/13  11:04
 */
public class Mouse {
    private int mouseNumber;
    Mouse(int i){
        mouseNumber = 1;
    }
    @Override
    public String toString(){
        return "this is Mouse";
    }
    void print(String msg){
        if (msg != null) System.out.println(msg);
        System.out.println("Mouse Number " + mouseNumber);
    }
}
